package com.steam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MessageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MessageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMessageidIsNull() {
            addCriterion("MessageID is null");
            return (Criteria) this;
        }

        public Criteria andMessageidIsNotNull() {
            addCriterion("MessageID is not null");
            return (Criteria) this;
        }

        public Criteria andMessageidEqualTo(Integer value) {
            addCriterion("MessageID =", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidNotEqualTo(Integer value) {
            addCriterion("MessageID <>", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidGreaterThan(Integer value) {
            addCriterion("MessageID >", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidGreaterThanOrEqualTo(Integer value) {
            addCriterion("MessageID >=", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidLessThan(Integer value) {
            addCriterion("MessageID <", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidLessThanOrEqualTo(Integer value) {
            addCriterion("MessageID <=", value, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidIn(List<Integer> values) {
            addCriterion("MessageID in", values, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidNotIn(List<Integer> values) {
            addCriterion("MessageID not in", values, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidBetween(Integer value1, Integer value2) {
            addCriterion("MessageID between", value1, value2, "messageid");
            return (Criteria) this;
        }

        public Criteria andMessageidNotBetween(Integer value1, Integer value2) {
            addCriterion("MessageID not between", value1, value2, "messageid");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("Account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("Account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(String value) {
            addCriterion("Account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(String value) {
            addCriterion("Account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(String value) {
            addCriterion("Account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(String value) {
            addCriterion("Account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(String value) {
            addCriterion("Account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(String value) {
            addCriterion("Account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLike(String value) {
            addCriterion("Account like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotLike(String value) {
            addCriterion("Account not like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<String> values) {
            addCriterion("Account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<String> values) {
            addCriterion("Account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(String value1, String value2) {
            addCriterion("Account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(String value1, String value2) {
            addCriterion("Account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andMessagecontentIsNull() {
            addCriterion("MessageContent is null");
            return (Criteria) this;
        }

        public Criteria andMessagecontentIsNotNull() {
            addCriterion("MessageContent is not null");
            return (Criteria) this;
        }

        public Criteria andMessagecontentEqualTo(String value) {
            addCriterion("MessageContent =", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentNotEqualTo(String value) {
            addCriterion("MessageContent <>", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentGreaterThan(String value) {
            addCriterion("MessageContent >", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentGreaterThanOrEqualTo(String value) {
            addCriterion("MessageContent >=", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentLessThan(String value) {
            addCriterion("MessageContent <", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentLessThanOrEqualTo(String value) {
            addCriterion("MessageContent <=", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentLike(String value) {
            addCriterion("MessageContent like", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentNotLike(String value) {
            addCriterion("MessageContent not like", value, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentIn(List<String> values) {
            addCriterion("MessageContent in", values, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentNotIn(List<String> values) {
            addCriterion("MessageContent not in", values, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentBetween(String value1, String value2) {
            addCriterion("MessageContent between", value1, value2, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andMessagecontentNotBetween(String value1, String value2) {
            addCriterion("MessageContent not between", value1, value2, "messagecontent");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("Phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("Phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("Phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("Phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("Phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("Phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("Phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("Phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("Phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("Phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("Phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("Phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("Phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("Phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("City is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("City is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("City =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("City <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("City >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("City >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("City <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("City <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("City like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("City not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("City in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("City not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("City between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("City not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeIsNull() {
            addCriterion("SendDateTime is null");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeIsNotNull() {
            addCriterion("SendDateTime is not null");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeEqualTo(Date value) {
            addCriterion("SendDateTime =", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeNotEqualTo(Date value) {
            addCriterion("SendDateTime <>", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeGreaterThan(Date value) {
            addCriterion("SendDateTime >", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("SendDateTime >=", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeLessThan(Date value) {
            addCriterion("SendDateTime <", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeLessThanOrEqualTo(Date value) {
            addCriterion("SendDateTime <=", value, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeIn(List<Date> values) {
            addCriterion("SendDateTime in", values, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeNotIn(List<Date> values) {
            addCriterion("SendDateTime not in", values, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeBetween(Date value1, Date value2) {
            addCriterion("SendDateTime between", value1, value2, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andSenddatetimeNotBetween(Date value1, Date value2) {
            addCriterion("SendDateTime not between", value1, value2, "senddatetime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeIsNull() {
            addCriterion("EffectTime is null");
            return (Criteria) this;
        }

        public Criteria andEffecttimeIsNotNull() {
            addCriterion("EffectTime is not null");
            return (Criteria) this;
        }

        public Criteria andEffecttimeEqualTo(Date value) {
            addCriterion("EffectTime =", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeNotEqualTo(Date value) {
            addCriterion("EffectTime <>", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeGreaterThan(Date value) {
            addCriterion("EffectTime >", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EffectTime >=", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeLessThan(Date value) {
            addCriterion("EffectTime <", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeLessThanOrEqualTo(Date value) {
            addCriterion("EffectTime <=", value, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeIn(List<Date> values) {
            addCriterion("EffectTime in", values, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeNotIn(List<Date> values) {
            addCriterion("EffectTime not in", values, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeBetween(Date value1, Date value2) {
            addCriterion("EffectTime between", value1, value2, "effecttime");
            return (Criteria) this;
        }

        public Criteria andEffecttimeNotBetween(Date value1, Date value2) {
            addCriterion("EffectTime not between", value1, value2, "effecttime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("State is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("State is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Byte value) {
            addCriterion("State =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Byte value) {
            addCriterion("State <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Byte value) {
            addCriterion("State >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("State >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Byte value) {
            addCriterion("State <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Byte value) {
            addCriterion("State <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Byte> values) {
            addCriterion("State in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Byte> values) {
            addCriterion("State not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Byte value1, Byte value2) {
            addCriterion("State between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Byte value1, Byte value2) {
            addCriterion("State not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsIsNull() {
            addCriterion("CarOrGoods is null");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsIsNotNull() {
            addCriterion("CarOrGoods is not null");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsEqualTo(String value) {
            addCriterion("CarOrGoods =", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsNotEqualTo(String value) {
            addCriterion("CarOrGoods <>", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsGreaterThan(String value) {
            addCriterion("CarOrGoods >", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsGreaterThanOrEqualTo(String value) {
            addCriterion("CarOrGoods >=", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsLessThan(String value) {
            addCriterion("CarOrGoods <", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsLessThanOrEqualTo(String value) {
            addCriterion("CarOrGoods <=", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsLike(String value) {
            addCriterion("CarOrGoods like", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsNotLike(String value) {
            addCriterion("CarOrGoods not like", value, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsIn(List<String> values) {
            addCriterion("CarOrGoods in", values, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsNotIn(List<String> values) {
            addCriterion("CarOrGoods not in", values, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsBetween(String value1, String value2) {
            addCriterion("CarOrGoods between", value1, value2, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andCarorgoodsNotBetween(String value1, String value2) {
            addCriterion("CarOrGoods not between", value1, value2, "carorgoods");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("OrderNum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("OrderNum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(String value) {
            addCriterion("OrderNum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(String value) {
            addCriterion("OrderNum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(String value) {
            addCriterion("OrderNum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
            addCriterion("OrderNum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(String value) {
            addCriterion("OrderNum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(String value) {
            addCriterion("OrderNum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLike(String value) {
            addCriterion("OrderNum like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotLike(String value) {
            addCriterion("OrderNum not like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<String> values) {
            addCriterion("OrderNum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<String> values) {
            addCriterion("OrderNum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(String value1, String value2) {
            addCriterion("OrderNum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(String value1, String value2) {
            addCriterion("OrderNum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andDajiIsNull() {
            addCriterion("DaJi is null");
            return (Criteria) this;
        }

        public Criteria andDajiIsNotNull() {
            addCriterion("DaJi is not null");
            return (Criteria) this;
        }

        public Criteria andDajiEqualTo(Byte value) {
            addCriterion("DaJi =", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiNotEqualTo(Byte value) {
            addCriterion("DaJi <>", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiGreaterThan(Byte value) {
            addCriterion("DaJi >", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiGreaterThanOrEqualTo(Byte value) {
            addCriterion("DaJi >=", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiLessThan(Byte value) {
            addCriterion("DaJi <", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiLessThanOrEqualTo(Byte value) {
            addCriterion("DaJi <=", value, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiIn(List<Byte> values) {
            addCriterion("DaJi in", values, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiNotIn(List<Byte> values) {
            addCriterion("DaJi not in", values, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiBetween(Byte value1, Byte value2) {
            addCriterion("DaJi between", value1, value2, "daji");
            return (Criteria) this;
        }

        public Criteria andDajiNotBetween(Byte value1, Byte value2) {
            addCriterion("DaJi not between", value1, value2, "daji");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNull() {
            addCriterion("IsDelete is null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNotNull() {
            addCriterion("IsDelete is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteEqualTo(Byte value) {
            addCriterion("IsDelete =", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotEqualTo(Byte value) {
            addCriterion("IsDelete <>", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThan(Byte value) {
            addCriterion("IsDelete >", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsDelete >=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThan(Byte value) {
            addCriterion("IsDelete <", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThanOrEqualTo(Byte value) {
            addCriterion("IsDelete <=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIn(List<Byte> values) {
            addCriterion("IsDelete in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotIn(List<Byte> values) {
            addCriterion("IsDelete not in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteBetween(Byte value1, Byte value2) {
            addCriterion("IsDelete between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("IsDelete not between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeIsNull() {
            addCriterion("IsDateTime is null");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeIsNotNull() {
            addCriterion("IsDateTime is not null");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeEqualTo(Date value) {
            addCriterion("IsDateTime =", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeNotEqualTo(Date value) {
            addCriterion("IsDateTime <>", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeGreaterThan(Date value) {
            addCriterion("IsDateTime >", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("IsDateTime >=", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeLessThan(Date value) {
            addCriterion("IsDateTime <", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("IsDateTime <=", value, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeIn(List<Date> values) {
            addCriterion("IsDateTime in", values, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeNotIn(List<Date> values) {
            addCriterion("IsDateTime not in", values, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeBetween(Date value1, Date value2) {
            addCriterion("IsDateTime between", value1, value2, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("IsDateTime not between", value1, value2, "isdatetime");
            return (Criteria) this;
        }

        public Criteria andIsguidIsNull() {
            addCriterion("IsGuid is null");
            return (Criteria) this;
        }

        public Criteria andIsguidIsNotNull() {
            addCriterion("IsGuid is not null");
            return (Criteria) this;
        }

        public Criteria andIsguidEqualTo(String value) {
            addCriterion("IsGuid =", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidNotEqualTo(String value) {
            addCriterion("IsGuid <>", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidGreaterThan(String value) {
            addCriterion("IsGuid >", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidGreaterThanOrEqualTo(String value) {
            addCriterion("IsGuid >=", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidLessThan(String value) {
            addCriterion("IsGuid <", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidLessThanOrEqualTo(String value) {
            addCriterion("IsGuid <=", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidLike(String value) {
            addCriterion("IsGuid like", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidNotLike(String value) {
            addCriterion("IsGuid not like", value, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidIn(List<String> values) {
            addCriterion("IsGuid in", values, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidNotIn(List<String> values) {
            addCriterion("IsGuid not in", values, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidBetween(String value1, String value2) {
            addCriterion("IsGuid between", value1, value2, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsguidNotBetween(String value1, String value2) {
            addCriterion("IsGuid not between", value1, value2, "isguid");
            return (Criteria) this;
        }

        public Criteria andIsverifyIsNull() {
            addCriterion("IsVerify is null");
            return (Criteria) this;
        }

        public Criteria andIsverifyIsNotNull() {
            addCriterion("IsVerify is not null");
            return (Criteria) this;
        }

        public Criteria andIsverifyEqualTo(Byte value) {
            addCriterion("IsVerify =", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyNotEqualTo(Byte value) {
            addCriterion("IsVerify <>", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyGreaterThan(Byte value) {
            addCriterion("IsVerify >", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsVerify >=", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyLessThan(Byte value) {
            addCriterion("IsVerify <", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyLessThanOrEqualTo(Byte value) {
            addCriterion("IsVerify <=", value, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyIn(List<Byte> values) {
            addCriterion("IsVerify in", values, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyNotIn(List<Byte> values) {
            addCriterion("IsVerify not in", values, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyBetween(Byte value1, Byte value2) {
            addCriterion("IsVerify between", value1, value2, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsverifyNotBetween(Byte value1, Byte value2) {
            addCriterion("IsVerify not between", value1, value2, "isverify");
            return (Criteria) this;
        }

        public Criteria andIsmarkIsNull() {
            addCriterion("IsMark is null");
            return (Criteria) this;
        }

        public Criteria andIsmarkIsNotNull() {
            addCriterion("IsMark is not null");
            return (Criteria) this;
        }

        public Criteria andIsmarkEqualTo(String value) {
            addCriterion("IsMark =", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkNotEqualTo(String value) {
            addCriterion("IsMark <>", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkGreaterThan(String value) {
            addCriterion("IsMark >", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkGreaterThanOrEqualTo(String value) {
            addCriterion("IsMark >=", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkLessThan(String value) {
            addCriterion("IsMark <", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkLessThanOrEqualTo(String value) {
            addCriterion("IsMark <=", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkLike(String value) {
            addCriterion("IsMark like", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkNotLike(String value) {
            addCriterion("IsMark not like", value, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkIn(List<String> values) {
            addCriterion("IsMark in", values, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkNotIn(List<String> values) {
            addCriterion("IsMark not in", values, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkBetween(String value1, String value2) {
            addCriterion("IsMark between", value1, value2, "ismark");
            return (Criteria) this;
        }

        public Criteria andIsmarkNotBetween(String value1, String value2) {
            addCriterion("IsMark not between", value1, value2, "ismark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}